package com.xuxk.project.library.dao;
import com.github.pagehelper.Page;
import org.apache.ibatis.session.RowBounds;
import org.apache.ibatis.annotations.Mapper;
import com.xuxk.project.library.bean.XuxkLibrary;
import com.xuxk.project.library.dto.XuxkLibraryDto;
import com.xuxk.project.library.vo.XuxkLibraryVo;
import java.util.List;
import java.util.Map;

/**
 * Dao interface for XuxkLibrary.
 * @author 橙云科技有限公司
 */
@Mapper
public interface XuxkLibraryDao{

    Page<XuxkLibraryVo> listXuxkLibrarys(Map<String, Object> map, RowBounds rowBounds);

    List<XuxkLibrary> listByDto(XuxkLibraryDto dto);



    void deleteByPrimaryKey(Map<String, Object> map)  ;

    Integer  countByDto(XuxkLibraryDto dto);

    void deleteByDto(XuxkLibraryDto dto)  ;
    /**
    * 新增
    */
    Integer insertSelective(XuxkLibrary record)  ;

    XuxkLibrary getXuxkLibrary(Map<String, Object> map);
    /**
    * 部分更新
    * @return
    */
    Integer patchUpdateXuxkLibrary(XuxkLibrary record);

    /**
    * 全量更新
    * @return
    */
    Integer updateXuxkLibrary(XuxkLibrary record);

}